package com.zy.convert.converter;

import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.Target;

import static java.lang.annotation.RetentionPolicy.RUNTIME;

/**
 * @author zhangyan
 * @date 2021-10-07 14:47:31
 **/
@Documented
@Target({ElementType.FIELD})
@Retention(RUNTIME)
@Transform(converter = UserGroupConverter.class)
public @interface UserGroupAnn {

    String sourceField() default "groupId";

}
